var e = require("miniprogram-computed").behavior;

Component({
    behaviors: [ e ],
    properties: {
        nodes: {
            type: String
        }
    },
    computed: {
        innerNodes: function(e) {
            var r = e.nodes;
            return r = (r = r.replace(/\<img/gi, '<img class="rich-img"')).replace(/\<p/gi, '<p class="rich-p"');
        }
    }
});